package com.xjzd.std.map;

import java.util.HashMap;
import java.util.Map;

public class HashMapLoadFactor {

    public static void main(String[] args) {
        System.out.println(300 == new Integer(300));
        System.out.println(new Integer(300).equals(new Integer(300)));
        Map<String, String> map = new HashMap<>(4, 1f);
        map.put("1", "1");
        map.put("2", "2");
        map.put("3", "3");
        map.put("4", "4");
        map.put("5", "5");
        System.out.println(map);

        Integer a = 300;
        Integer b = 300;
        System.out.println(a.equals(b));
    }
}
